package com.billdowney.util.regex;

/**
 * 身份证信息
 * 
 * @author 超级小富翁 - BillDowney
 * @date 2019年3月29日 上午10:37:26
 */
public class IdCardInfo {

	/**
	 * 身份证号
	 */
	private String idCard;
	/**
	 * 行政区划代码
	 */
	private String areaCode;
	/**
	 * 出生日期
	 */
	private String bornDate;
	/**
	 * 出生年
	 */
	private int bornYear;
	/**
	 * 出生月
	 */
	private int bornMonth;
	/**
	 * 出生日
	 */
	private int bornDay;
	/**
	 * 顺序码
	 */
	private String orderCode;
	/**
	 * 性别
	 */
	private SexEnum sex;
	/**
	 * 校验码
	 */
	private String checkCode;
	/**
	 * 是否正确
	 */
	private boolean right;

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getBornDate() {
		return bornDate;
	}

	public void setBornDate(String bornDate) {
		this.bornDate = bornDate;
	}

	public int getBornYear() {
		return bornYear;
	}

	public void setBornYear(int bornYear) {
		this.bornYear = bornYear;
	}

	public int getBornMonth() {
		return bornMonth;
	}

	public void setBornMonth(int bornMonth) {
		this.bornMonth = bornMonth;
	}

	public int getBornDay() {
		return bornDay;
	}

	public void setBornDay(int bornDay) {
		this.bornDay = bornDay;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public SexEnum getSex() {
		return sex;
	}

	public void setSex(SexEnum sex) {
		this.sex = sex;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public boolean isRight() {
		return right;
	}

	public void setRight(boolean right) {
		this.right = right;
	}

	@Override
	public String toString() {
		return "IdCardInfo [idCard=" + idCard + ", areaCode=" + areaCode + ", bornDate=" + bornDate + ", bornYear="
				+ bornYear + ", bornMonth=" + bornMonth + ", bornDay=" + bornDay + ", orderCode=" + orderCode + ", sex="
				+ sex + ", checkCode=" + checkCode + ", right=" + right + "]";
	}

}
